import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App.jsx'
import './index.css'
import { useState } from 'react'


// const RootEle = () =>{
//   const [show, setShow] = useState(true)
//   setTimeout(() => {
//     setShow(false)
//   }, 3000)
//   return (
//     <>
//     {
//       show?<App />:<></>
//     }
//     </>
//   )
// }

ReactDOM.createRoot(document.getElementById('root')).render(
  <React.StrictMode>
    <App />
  </React.StrictMode>,
)
